package com._5704.website.entity;

import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yiyoung
 * @since 2021-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 帖子id
     */
    private Integer postId;

    /**
     * 与帖子id共为主键
     */
    private Integer id;

    /**
     * 时间
     */
    private Date createTime;

    /**
     * 内容
     */
    private String content;


}
